package com.ucenter.server.auth.pojo;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.system.comm.model.BaseEntity;

/**
 * role_user实体
 * @author autoCode
 * @date 2018-12-01 09:50:44
 * @version V1.0.0
 */
@Alias("roleUser")
@SuppressWarnings("serial")
@JsonInclude(Include.NON_NULL)
public class RoleUser extends BaseEntity implements Serializable {
	// 用户编号
	private String userId;
	// 角色编号
	private String roleId;
	// 创建人
	private String createUserId;
	// 创建时间
	private Date createTime;
	
	//============================ 扩展属性
	// 角色名称
	private String roleName;
	
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	
	public String getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
}